﻿using System;
using Dxr.Police.IACS.Models;
using Dxr.Police.Models;

namespace Dxr.Police.IACS.FullText
{
    public class SHZY_FCXX_FCJYSource : DataSourceBase<SHZY_FCXX_FCJY>
    {
        protected override void OnInserting(SHZY_FCXX_FCJY model, UserInfo user)
        {
            base.OnInserting(model, user);

            model.CREATE_BY = user.Id;
            model.CREATE_DATE = DateTime.Now;
        }
    }

    public class SHZY_FCXX_FCJY : ISourceModel
    {
        [Source("主键", Key = true, Skip = true)]
        public int ID { get; set; }


        public string ZJBH { get; set; }


        [Source("姓名", Condition = true, Show = true, ShowIndex = 0)]
        public string XM { get; set; }


        public string MZ { get; set; }


        [Source("身份证", Condition = true, Show = true, ShowIndex = 1)]
        public string SFZH { get; set; }


        public string DZ { get; set; }


        [Source("电话", Condition = true, Show = true, ShowIndex = 2)]
        public string PHONE { get; set; }


        public string GZDW { get; set; }


        [Source("配偶姓名", Condition = true, Show = true, ShowIndex = 3)]
        public string POXM { get; set; }


        public string POMZ { get; set; }


        [Source("配偶身份证", Condition = true, Show = true, ShowIndex = 4)]
        public string POSFZH { get; set; }


        public string PODZ { get; set; }


        [Source("配偶电话", Condition = true, Show = true, ShowIndex = 5)]
        public string POPHONE { get; set; }


        public string POGZDW { get; set; }


        public string DJLB { get; set; }


        public string SPDW { get; set; }


        public string DJSJ { get; set; }


        public string BZ { get; set; }


        public string QT { get; set; }


        public string CJDW { get; set; }


        public string CJSJ { get; set; }


        public string SBYF { get; set; }


        public string SSQXDM { get; set; }


        public string ZYSSBM { get; set; }


        public string CJRY { get; set; }


        public string ZYCJSJ { get; set; }


        public string DRSJ { get; set; }


        public string DRRY { get; set; }


        public string DRRLXDH { get; set; }


        public string UPDATE_BY { get; set; }

        public DateTime? UPDATE_DATE { get; set; }


        public string DEL_FLAG { get; set; }


        public string CREATE_BY { get; set; }

        [Source("创建时间", Order = true)]
        public DateTime? CREATE_DATE { get; set; }


        public string REMARKS { get; set; }

        public DataType DataType => DataType.House_Business;
    }
}
